<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\RoomType;

class RoomTypeController extends Controller
{
    public function list(){
        $types = RoomType::with('price')->get();
        return view('roomTypes', ['types' => $types]);
    }
}
